package com.lxz.rpcbasednetty;

public class RpcConsumer {
	public static void main(String[] args) throws Exception{
		RpcClient client = new RpcClient("127.0.0.1", 1234);
		HelloService service = client.create(HelloService.class);
		String result = service.hello("lxz");
		System.out.println(result);
	}
}
